package chapter8.modifier;

public class B {
    public  void say(){
        A a = new A();
        //在同一个包下可以访问三种，public protected 默认
        System.out.println("n1 = " + a.n1 + " n2 = " + a.n2 + "n3= " + a.n3 );

    }
}
